package com.lemon.stock.ui

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.activity.OnBackPressedCallback
import androidx.activity.compose.setContent
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.saveable.rememberSaveable
import com.lemon.stock.compose.ConstructionScreen
import com.lemon.stock.compose.mine.HistoryScreen
import com.lemon.stock.theme.StockTheme
import com.lemon.stock.util.showMessage

class HistoryActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContent {
            StockTheme{
                HistoryScreen(this.onBackPressedDispatcher){
                    onBackPressed()
                }
            }
        }
    }

}